package pcjavanet.mobilesell.persistence;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pcjavanet.mobilesell.model.Member;
import pcjavanet.mobilesell.model.MemberExample;
import pcjavanet.mobilesell.model.PageBean;

public interface MemberMapper {
    int countByExample(MemberExample example);

    int deleteByExample(MemberExample example);

    int deleteByPrimaryKey(Integer dbid);

    int insert(Member record);

    int insertSelective(Member record);

    List<Member> selectByExample(MemberExample example);

    Member selectByPrimaryKey(Integer dbid);

    int updateByExampleSelective(@Param("record") Member record, @Param("example") MemberExample example);

    int updateByExample(@Param("record") Member record, @Param("example") MemberExample example);

    int updateByPrimaryKeySelective(Member record);

    int updateByPrimaryKey(Member record);

    List<Member> getOnePageBeans(@Param("example") MemberExample example, @Param("pageBean") PageBean pageBean);

    int getTotalRecords(@Param("example") MemberExample example, @Param("pageBean") PageBean pageBean);

    List<Member> selectByExamplePage(@Param("example") MemberExample example, @Param("pageBean") PageBean pageBean);
}